package com.btpj.jetpack.base

import android.app.Application
import android.content.Context
import kotlin.properties.Delegates

/**
 * Application基类
 *
 * @author LTP 2020/7/7
 */
open class BaseApp : Application() {

    companion object {
        var appContext: Context by Delegates.notNull()
    }

    override fun onCreate() {
        super.onCreate()
        appContext = applicationContext
    }
}